import 'package:flutter/material.dart';
import 'package:flutter_ohos/components/DioCase.dart';
import 'package:flutter_ohos/components/ExpandCase.dart';
import 'package:flutter_ohos/components/GridViewBuilderCase.dart';
import 'package:flutter_ohos/components/GridViewCase.dart';
import 'package:flutter_ohos/components/ImageCase.dart';
import 'package:flutter_ohos/components/ImageCase2.dart';
import 'package:flutter_ohos/components/ListViewBuilderCase.dart';
import 'package:flutter_ohos/components/ListViewCase.dart';
import 'package:flutter_ohos/components/ListViewSeparatedCase.dart';
import 'package:flutter_ohos/components/MTFoodDetail.dart';
import 'package:flutter_ohos/components/MTMain.dart';
import 'package:flutter_ohos/components/TabsCase.dart';
import 'package:flutter_ohos/components/TextCase.dart';
import 'components/ColumnAndRowCase.dart';
import 'components/StateLessCase.dart';
import 'components/StateFullCase.dart';
import 'components/ParentCase.dart';
import 'components/LifeCase.dart';
import 'components/ContainerCase.dart';
import 'components/ContainerCase2.dart';

void main() {
  runApp(MaterialApp(
    routes: {
      '/': (context) => MTMain(),
      '/details': (context) => MTFoodDetail(),
      '/tabs': (context) => TabsCase()
    },
    // home: Scaffold(
    // body: MTMain(),
    // appBar: AppBar(
    //   title: Text('你好 世界'),
    // ),
    // body: DioCase(),
    // body: GridViewBuilderCase(),
    // body: GridViewCase(),
    // body: ListViewSeparatedCase(),
    // body: ListViewBuilderCase(),
    // body: ListViewCase(),
    // body: ExpandCase(),
    // body: ColumnAndRowCase(),
    // body: ImageCase2(),
    // body: ImageCase(),
    // body: Container(
    //     // child: TextCase()
    //     // ContainerCase2(),
    //     // ContainerCase(),
    //     ),
    // body: Container(
    //   child: Column(children: const [
    //     Text('你好 世界'),
    //     StateLessCase(
    //       title: '测试',
    //     ),
    //     StateFullCase(
    //       title: '温暖的冷锋',
    //     ),
    //     ParentCase(),
    //     LifeCase()
    //   ]),
    // ),
    // )
  ));
}
